﻿using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Thinker.SignChannel.Entities;
using Volo.Abp.Domain.Repositories;

namespace Thinker.SignChannel.Repositories;

public interface IRecordRepository : IRepository<Record, Guid>
{
    Task<List<Record>> FindListAsync(Guid personId, Guid timeId)
    {
        return GetListAsync(e => e.PersonId == personId && e.TimeId == timeId);
    }
}